package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

	beego.GlobalControllerRouter["smallgift/controllers:ActivityController"] = append(beego.GlobalControllerRouter["smallgift/controllers:ActivityController"],
		beego.ControllerComments{
			Method: "Create",
			Router: `/create`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:ActivityController"] = append(beego.GlobalControllerRouter["smallgift/controllers:ActivityController"],
		beego.ControllerComments{
			Method: "CreateVoucher",
			Router: `/createvoucher`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:ActivityController"] = append(beego.GlobalControllerRouter["smallgift/controllers:ActivityController"],
		beego.ControllerComments{
			Method: "Edit",
			Router: `/edit`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:ActivityController"] = append(beego.GlobalControllerRouter["smallgift/controllers:ActivityController"],
		beego.ControllerComments{
			Method: "List",
			Router: `/list`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "AuthOrder",
			Router: `/authorder`,
			AllowHTTPMethods: []string{"get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "Edit",
			Router: `/edit`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "Enter",
			Router: `/enter`,
			AllowHTTPMethods: []string{"post","get"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "OrderInsert",
			Router: `/orderinsert`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "OrderList",
			Router: `/orderlist`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:OrderController"] = append(beego.GlobalControllerRouter["smallgift/controllers:OrderController"],
		beego.ControllerComments{
			Method: "OrderQuery",
			Router: `/orderquery`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

	beego.GlobalControllerRouter["smallgift/controllers:UserController"] = append(beego.GlobalControllerRouter["smallgift/controllers:UserController"],
		beego.ControllerComments{
			Method: "Login",
			Router: `/login`,
			AllowHTTPMethods: []string{"post"},
			MethodParams: param.Make(),
			Params: nil})

}
